package com.muyi.biling.bean;

import com.flyco.tablayout.listener.CustomTabEntity;

/**
 * Created by developer on 18-1-29.
 */

public class TabEntity implements CustomTabEntity {

    private String tabTitle;
    private int selectedIcon;
    private int unSelectedIcon;

    public TabEntity(String tabTitle, int selectedIcon, int unSelectedIcon) {
        this.tabTitle = tabTitle;
        this.selectedIcon = selectedIcon;
        this.unSelectedIcon = unSelectedIcon;
    }

    public TabEntity(String tabTitle) {
        this.tabTitle = tabTitle;
        this.selectedIcon = 0;
        this.unSelectedIcon = 0;
    }

    @Override
    public String getTabTitle() {
        return tabTitle;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectedIcon;
    }
}
